package com.ruoyi.lynhgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 历史数据查询对象 tb_lynhgl_lssjcx
 * 
 * @author hc
 * @date 2023-11-10
 */
public class TbLynhglLssjcx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 楼宇编码 */
    @Excel(name = "楼宇编码")
    private String lybm;

    /** 楼宇名称 */
    @Excel(name = "楼宇名称")
    private String lymc;

    /** 能源类型 */
    @Excel(name = "能源类型")
    private String nylx;

    /** 仪表 */
    @Excel(name = "仪表")
    private String yb;

    /** 仪表编号 */
    @Excel(name = "仪表编号")
    private String ybbh;

    /** 柜号 */
    @Excel(name = "柜号")
    private String gh;

    /** 采集读数 */
    @Excel(name = "采集读数")
    private Long cjds;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cjsj;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLybm(String lybm) 
    {
        this.lybm = lybm;
    }

    public String getLybm() 
    {
        return lybm;
    }
    public void setLymc(String lymc) 
    {
        this.lymc = lymc;
    }

    public String getLymc() 
    {
        return lymc;
    }
    public void setNylx(String nylx) 
    {
        this.nylx = nylx;
    }

    public String getNylx() 
    {
        return nylx;
    }
    public void setYb(String yb) 
    {
        this.yb = yb;
    }

    public String getYb() 
    {
        return yb;
    }
    public void setYbbh(String ybbh) 
    {
        this.ybbh = ybbh;
    }

    public String getYbbh() 
    {
        return ybbh;
    }
    public void setGh(String gh) 
    {
        this.gh = gh;
    }

    public String getGh() 
    {
        return gh;
    }
    public void setCjds(Long cjds) 
    {
        this.cjds = cjds;
    }

    public Long getCjds() 
    {
        return cjds;
    }
    public void setCjsj(Date cjsj) 
    {
        this.cjsj = cjsj;
    }

    public Date getCjsj() 
    {
        return cjsj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lybm", getLybm())
            .append("lymc", getLymc())
            .append("nylx", getNylx())
            .append("yb", getYb())
            .append("ybbh", getYbbh())
            .append("gh", getGh())
            .append("cjds", getCjds())
            .append("cjsj", getCjsj())
            .toString();
    }
}
